﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Reply.aspx.cs" Inherits="PlugNT.Cms.Web.Admin.Pre_Comment.Reply" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>留言回复</title>
</head>
<link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
<link href="../css/msg.css" rel="stylesheet" type="text/css">
<script language="javascript" src="/js/web/comment.js"></script>
<script language="javascript">
function Show(id)
{
    var obj=document.getElementById(id);
    if(obj.style.display=="none")
    {
        obj.style.display="";
    }
    else
    {
        obj.style.display="none";        
    }
}
</script>
<body>
<div class="frmstatic" style="display:block">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="controls">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align"left">
                <table>
                    <tr>
                        <td><img src="../images/maintenance_32x32.gif" width="16" height="16" /></td>
                        <td><label>设置 > 留言回复</label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <span>操作 > </span>
                <a href='javascript:window.history.back();'>返回</a> 
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>
    
    
<div class="frmstatic" style="display:block">
 <table width="100%" border="0" cellpadding="10" cellspacing="0">
   <tr valign="top">
    <td valign="top">
    
    <form id="form1" runat="server">
     <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#d2e6fa">
       <tr valign="top">
        <td valign="top">
            
          <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ecf5ff">

            <tr>
              <td width="145" align="right" nowrap bgcolor="#F4FBFF">标题:</td>
              <td width="1040" bgcolor="#F4FBFF">
                <asp:HiddenField ID="hidId" runat="server" />
                <asp:Literal ID="litTitle" runat="server"></asp:Literal>                               
              </td>
            </tr>

            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">内容:</td>
              <td class="comment" bgcolor="#F4FBFF">
                    <asp:Literal ID="litContent" runat="server"></asp:Literal>              
              </td>
            </tr>
            
            <tr style="cursor:hand" onclick="Show('tdTest');">
                <td align="right" nowrap bgcolor="#F4FBFF">效果</td>
                <td bgcolor="#F4FBFF">点击显示测试内容
                  <div id="tdTest" class="comment" style="display:none;">
                    <div class="commentBox">
                        <div class="commentBox">
                            <div class="commentInfo">
                                <span class="author">河南新乡网友(123.15.*.*)的原贴：</span> <span class="floorCount">1</span>
                            </div>
                            <p class="content">test</p>
                        </div>
                        <div class="commentInfo">
                            <span class="author">河南新乡网友(123.15.*.*)的原贴：</span> <span class="floorCount">2</span>
                        </div>
                        <p class="content">test</p>
                    </div>
                    <div class="commentInfo">
                        <span class="author">河南新乡网友(123.15.*.*)的原贴：</span> <span class="floorCount">3</span>
                    </div>
                    <p class="content">test</p>
                  </div>
                </td>
            </tr>
            
            <tr>
              <td align="right" nowrap bgcolor="#F4FBFF">回复内容:</td>
              <td bgcolor="#F4FBFF">
                  <asp:TextBox ID="txtReply" runat="server" CssClass="input" TextMode="MultiLine" Width="450" Height="200"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                      ErrorMessage="回复内容不能为空" ControlToValidate="txtReply"></asp:RequiredFieldValidator>                  
              </td>
            </tr>
            
            <tr>
              <td bgcolor="#F4FBFF">&nbsp;</td>
              <td bgcolor="#F4FBFF"><asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnUpdate" 
                      runat="server" Text=" 确定 " onclick="btnUpdate_Click" /></td>
            </tr>
          </table>

        </td>
      </tr>
     </table>
     <script type="text/javascript">LoadFaceImages();</script>
    </form>

    </td>
  </tr>
 </table>
</div>
</body>
</html>
